|
2000W / 48V LLC Battery-Charger
V1.00
|
#include <xmc_wdt.h>
Public Attributes | |
| uint32_t | window_upper_bound |
| uint32_t | window_lower_bound |
| union { | |
| struct { | |
| uint32_t __pad0__: 1 | |
| uint32_t prewarn_mode: 1 | |
| uint32_t __pad1__: 2 | |
| uint32_t run_in_debug_mode: 1 | |
| uint32_t __pad2__: 3 | |
| uint32_t service_pulse_width: 8 | |
| uint32_t __pad3__: 16 | |
| } | |
| uint32_t wdt_ctr | |
| }; | |
Structure for initializing watchdog timer. Use type XMC_WDT_CONFIG_t for this structure.
| union { ... } |
| uint32_t XMC_WDT_CONFIG::prewarn_mode |
Pre-warning mode (PRE). This accepts boolean values as input.
Definition at line 146 of file xmc_wdt.h.
Referenced by L0_Watchdog_Config().
| uint32_t XMC_WDT_CONFIG::run_in_debug_mode |
Watchdog timer behaviour during debug (DSP). This accepts boolean values as input.
Definition at line 148 of file xmc_wdt.h.
Referenced by L0_Watchdog_Config().
| uint32_t XMC_WDT_CONFIG::service_pulse_width |
Service Indication Pulse Width (SPW). Generated Pulse width is of (SPW+1), in fwdt cycles.
Range: [0H to FFH]
Definition at line 150 of file xmc_wdt.h.
Referenced by L0_Watchdog_Config().
| uint32_t XMC_WDT_CONFIG::wdt_ctr |
Definition at line 155 of file xmc_wdt.h.
Referenced by XMC_WDT_Init().
| uint32_t XMC_WDT_CONFIG::window_lower_bound |
Lower bound for servicing window (WLB). Setting the lower bound to 0H disables the window mechanism.
Range: [0H to FFFFFFFFH]
Definition at line 138 of file xmc_wdt.h.
Referenced by L0_Watchdog_Config(), and XMC_WDT_Init().
| uint32_t XMC_WDT_CONFIG::window_upper_bound |
Upper bound for service window (WUB). Reset request is generated up on overflow of timer. ALways upper bound value has to be more than lower bound value. If it is set lower than WLB, triggers a system reset after timer crossed upper bound value.
Range: [0H to FFFFFFFFH]
Definition at line 134 of file xmc_wdt.h.
Referenced by L0_Watchdog_Config(), and XMC_WDT_Init().